<?php
 
namespace App\Admin\Extensions\Tools;

use Encore\Admin\Admin;
use Encore\Admin\Grid\Tools\AbstractTool;
use Illuminate\Support\Facades\Request;

class ChengjiaoGender extends AbstractTool
{
	protected $action;

    public function __construct($action = "")
    {
        $this->action = $action;
    }
    protected function script()
    {
        $url = Request::fullUrlWithQuery(['gender' => '_gender_']);
    }

    public function render()
    {
        Admin::script($this->script());
        return view('admin.tools.chengjiao',['list' => $this->action]);
    }
}